@import '../../../index.scss';

page {
  background-color: #f8f8f8;
}

.container {

  .box {
    .item {
      display: flex;
      margin: 30rpx;
      padding: 40rpx;
      box-sizing: border-box;
      background-color: #fff;
      border-radius: 20rpx;

      .cover {
        width: 160rpx;
        height: 160rpx;
        background-color: #f8f8f8;
        margin-right: 30rpx;

        image {
          width: 100%;
          height: 100%;
        }
      }

      .cont {
        flex: 1;
        display: flex;
        flex-direction: column;
        height: 160rpx;
        justify-content: space-between;

        .id {
          font-size: 32rpx;
          font-weight: bold;
        }

        .middle {
          display: flex;
          align-items: center;

          .num {
            font-size: 24rpx;
            // color: #787878;
            color: #333;

          }

          .price {
            margin-right: 20rpx;
            font-size: 26rpx;
            color: #333;
            // color: #787878;
          }
        }
        .time {
          font-size: 24rpx;
          color: #ccc;
          padding-top: 4rpx;
        }

        .bottom {
          width: 100%;
          display: flex;
          justify-content: flex-end;
          align-items: flex-end;

         

          .state {
            display: flex;
            flex-wrap: wrap;

            .txt {
              font-size: 20rpx;
              padding: 10rpx 20rpx;
              border-radius: 100px;
              margin-left: 10rpx;
              margin-top: 10rpx;

              &.cancel {
                color: #666;
                background-color: #eee;
              }

              &.orange {
                color: #fff;
                background-color: #fab005;
              }

              &.black {
                color: #fff;
                background-color: #000;
              }

              &.red {
                color: #fff;
                background-color: #ff6b6b;
              }

              &.green {
                color: #fff;
                background-color: #20c997;
              }

              &.blue {
                color: #fff;
                background-color: #5c7cfa;
              }
            }
          }
        }
      }
    }
  }
}